package com.ruoyi.project.mahjong.domain;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.List;

/**
 * 房间对象 t_room
 *
 * @author ruoyi
 * @date 2023-10-07
 */
@ApiModel("房间实体类字段描述")
public class    TRoom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** bak3 */
    @Excel(name = "bak3")
    @ApiModelProperty(value = "bak3字段")
    private String bak3;

    /** bak2 */
    @Excel(name = "bak2")
    @ApiModelProperty(value = "bak2字段")
    private String bak2;

    /** bak1 使用：归属店铺id*/
    @Excel(name = "归属店铺id")
    @ApiModelProperty(value = "归属店铺id")
    private String bak1;

    /** 房间状态 1使用中 2空闲中 3维修中 */
    @Excel(name = "房间状态 1使用中 2空闲中 3维修中")
    @ApiModelProperty(value = "房间状态 1使用中 2空闲中 3维修中")
    private String status;

    /** 是否通电：1通电 2未通电 */
    @Excel(name = "是否通电：1通电 2未通电")
    @ApiModelProperty(value = "是否通电：1通电 2未通电")
    private String isEnergize;

    /** 房间图标 ==弃用*/
    @Excel(name = "房间图标")
    @ApiModelProperty(value = "弃用")
    private String roomIcon;

    /** 房间对应的桌号，用英文逗号隔开 ==弃用 */
    @Excel(name = "房间对应的桌号，用英文逗号隔开")
    @ApiModelProperty(value = "弃用")
    private String roomTable;
    //    房间对应的桌号

    //   房间开桌信息
    @ApiModelProperty(value = "房间开桌信息")
    private  TOpenTable tOpenTable;
    /** 房间类型 */
    @Excel(name = "房间类型")
    @ApiModelProperty(value = "弃用")
    private String roomType;

    /** 房间名称 */
    @Excel(name = "房间名称")
    @ApiModelProperty(value = "房间名称")
    private String roomName;

    private String ids;

    /** id */
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "房间对应的桌号")
    private List<TTablenumber> tTablenumbers;
    private    TTablenumber tTablenumber;

    public TTablenumber gettTablenumber() {
        return tTablenumber;
    }

    public void settTablenumber(TTablenumber tTablenumber) {
        this.tTablenumber = tTablenumber;
    }

    public List<TTablenumber> gettTablenumbers() {
        return tTablenumbers;
    }

    public void settTablenumbers(List<TTablenumber> tTablenumbers) {
        this.tTablenumbers = tTablenumbers;
    }

    public TOpenTable gettOpenTable() {
        return tOpenTable;
    }

    public void settOpenTable(TOpenTable tOpenTable) {
        this.tOpenTable = tOpenTable;
    }

    public void setBak3(String bak3)
    {
        this.bak3 = bak3;
    }

    public String getBak3()
    {
        return bak3;
    }
    public void setBak2(String bak2)
    {
        this.bak2 = bak2;
    }

    public String getBak2()
    {
        return bak2;
    }
    public void setBak1(String bak1)
    {
        this.bak1 = bak1;
    }

    public String getBak1()
    {
        return bak1;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setIsEnergize(String isEnergize)
    {
        this.isEnergize = isEnergize;
    }

    public String getIsEnergize()
    {
        return isEnergize;
    }
    public void setRoomIcon(String roomIcon)
    {
        this.roomIcon = roomIcon;
    }

    public String getRoomIcon()
    {
        return roomIcon;
    }
    public void setRoomTable(String roomTable)
    {
        this.roomTable = roomTable;
    }

    public String getRoomTable()
    {
        return roomTable;
    }
    public void setRoomType(String roomType)
    {
        this.roomType = roomType;
    }

    public String getRoomType()
    {
        return roomType;
    }
    public void setRoomName(String roomName)
    {
        this.roomName = roomName;
    }

    public String getRoomName()
    {
        return roomName;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("bak3", getBak3())
            .append("bak2", getBak2())
            .append("bak1", getBak1())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("isEnergize", getIsEnergize())
            .append("roomIcon", getRoomIcon())
            .append("roomTable", getRoomTable())
            .append("roomType", getRoomType())
            .append("roomName", getRoomName())
            .append("tTablenumbers", gettTablenumbers())
            .append("tOpenTable", gettOpenTable())
            .append("id", getId())
            .toString();
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }
}
